package com.ddh.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddh.service.domain.player.dto.PlayerDTO;
import com.ddh.service.domain.player.entity.Players;
import com.ddh.service.domain.player.vo.PlayerVO;
import com.ddh.service.exception.ServiceException;


/**
* @author 11
* @description 针对表【players】的数据库操作Service
* @createDate 2025-01-15 16:49:55
*/
public interface PlayersService extends IService<Players> {

    /**
     * 登录
     * @param playerDTO
     * @return
     */
    PlayerVO login(PlayerDTO playerDTO) throws ServiceException;

    /**
     * 注册
     * @param playerDTO
     * @return
     */
    Boolean register(PlayerDTO playerDTO);
}
